module.exports = {
  devServer: {
    https: false,
    injectClient: false,
    hot: false,
    hotOnly: false,
    proxy: {
      '/auth': {
        target: 'http://localhost:8080/api/medical-crowdsourcing',
        changeOrigin: true
      },
      '/statistics': {
        target: 'http://localhost:8080/api/medical-crowdsourcing',
        changeOrigin: true
      },
      '/api': {
        target: 'http://localhost:8080',
        changeOrigin: true
      }
    }
  }
} 